package com.smartwasser.yunhtgl.apphtgl.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.smartwasser.yunhtgl.apphtgl.R;

/**
 * Created by Administrator on 2018/7/11.
 * 签字盖章合同
 */

public class QianzigaizhangView extends LinearLayout {
    private TextView tv_qzgz;
    private TextView tv_qz_title;


    public QianzigaizhangView(Context context, AttributeSet attrs) {
        super(context, attrs);
        // 加载布局
        LayoutInflater.from(context).inflate(R.layout.view_qianzigaizhang, this);
        tv_qzgz=findViewById(R.id.sp1_great_qz);
        tv_qz_title = findViewById(R.id.tv_qz_title);
    }

    public void setText(String string){
        tv_qzgz.setText(string);
    }

    public void setVisibilityTitle(){
        tv_qz_title.setVisibility(VISIBLE);
    }

}
